#pragma once

#include <SFML/Graphics.hpp>
#include "ImgLoader.h"
#include "DisplayManager.h"

class SpriteManager
{
	public:
		static SpriteManager* GetInstance();
		void Destroy();

		sf::Sprite* LoadSprite(std::string p_Path, int p_DrawPriority, bool p_Persistent = false);
		
	private:
		SpriteManager();
		~SpriteManager();

		static SpriteManager* m_xInstance;
		ImgLoader* m_xImgLoader;
		DisplayManager* m_xDisplayManager;

		sf::Sprite* m_xSprite;
};
